package com.ruoyi.task.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 楼栋核酸任务对象 t_building_nucleic_task
 * 
 * @author ruoyi
 * @date 2022-10-16
 */
public class TBuildingNucleicTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 小区名 */
    @Excel(name = "小区名")
    private String cell;

    /** 楼栋名 */
    @Excel(name = "楼栋名")
    private String build;

    /** 任务名 */
    @Excel(name = "任务名")
    private String task;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 检测位置 */
    @Excel(name = "检测位置")
    private String address;

    /** 任务人数 */
    @Excel(name = "任务人数")
    private Long count;

    /** 完成人数 */
    @Excel(name = "完成人数")
    private Long completes;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCell(String cell) 
    {
        this.cell = cell;
    }

    public String getCell() 
    {
        return cell;
    }
    public void setBuild(String build) 
    {
        this.build = build;
    }

    public String getBuild() 
    {
        return build;
    }
    public void setTask(String task) 
    {
        this.task = task;
    }

    public String getTask() 
    {
        return task;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCount(Long count) 
    {
        this.count = count;
    }

    public Long getCount() 
    {
        return count;
    }
    public void setCompletes(Long completes) 
    {
        this.completes = completes;
    }

    public Long getCompletes() 
    {
        return completes;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("cell", getCell())
            .append("build", getBuild())
            .append("task", getTask())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("endTime", getEndTime())
            .append("address", getAddress())
            .append("count", getCount())
            .append("completes", getCompletes())
            .toString();
    }
}
